<%--
  Created by IntelliJ IDEA.
  User: cz
  Date: 2021/9/6
  Time: 15:29
  To change this template use File | Settings | File Templates.
--%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>Title</title>
    <link href="<%=basePath%>static/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">表单</a></li>
    </ul>
</div>
<shiro:hasPermission name="order:add">
<form action="<%=basePath%>orderController/add.do" method="post">
    <input type="hidden" name="idStr" value="${orderInfo_db.id}">
    <div class="formbody">

        <div class="formtitle"><span>基本信息</span></div>
        <ul class="forminfo">
            <li><label>编号：</label><input name="orderNo"  value="${orderInfo_db.orderNo}" type="text" class="dfinput"/><i>编号不能超过10个字符</i></li>
            <li><label>客户名称：</label><input name="orderCustomer" value="${orderInfo_db.orderCustomer}" type="text" class="dfinput"/><i>名称不能超过30个字符</i></li>
            <li><label>产品名称：</label><input name="productName" type="text"  value="${orderInfo_db.productName}" class="dfinput"/><i>名称不能超过30个字符</i></li>
            <li><label>总数量：</label><input name="orderQuantity" type="text"  value="${orderInfo_db.orderQuantity}" class="dfinput"/><i>数量不能超过30个字符</i></li>
            <li><label>总金额：</label><input name="orderPrice" type="text"  value="${orderInfo_db.orderPrice}" class="dfinput"/><i>金额不能超过30个字符</i></li>
            <li><label>操作员：</label><input name="actionName" type="text"  value="${orderInfo_db.actionName}" class="dfinput"/><i>名称不能超过30个字符</i></li>
            <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认修改"/></li>
        </ul>
    </div>
</form>
</shiro:hasPermission>
</body>
</html>

